package org.speed.spring.core.aop;

import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;

public class ProxyOrderService implements MethodInterceptor {

	@Override
	public Object invoke(MethodInvocation invocation) throws Throwable {
		
		System.out.println("invoke before..");
		Object res = invocation.proceed();
		System.out.println("invoke after..");
		
		return res;
	}

}
